package com.qisu.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.qisu.dao.GunDao;
import com.qisu.model.vo.Gun;

/**
 * 
 * @author li
 *
 */
@Service
public class GunService {
	@Autowired
	private GunDao gunDao;
	
	/**
	 * 更新枪状态
	 * @param gun
	 */
	public void updateGunState(Gun gun) {
		gunDao.updateGunState(gun);
	}

}
